package dto

import "time"

//登录
type Login struct {
	Number      string    `form:"number"`      //每页数据
	Password   string    `form:"password"`   //当前页
}

//GetStuList 学生列表数据入参
type GetStuList struct {
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
}
//GetStuDetails 学生详情数据入参
type GetStuDetails struct {
	Id      int `form:"id"` //学生id
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
}
//GetStuNumber 学号查询学生列表入参
type GetStuNumber struct {
	Number string `form:"number"` //学生id
}
//GetStuLists 条件查询学生列表入参
type GetStuLists struct {
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
	Year string `form:"year"`  //年级
	Class string `form:"class"`  //班级
	Major string `form:"major"` //专业
	Grade string  `form:"grade"`  //性别
	State string `form:"state"`//状态
	Team string `form:"team"`//球队搜索
}
//GetStuLists 条件查询学生列表入参
type GetStuTeam struct {
	Team    string `form:"team"` //球队搜索
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
}
//心里预警
type GetStuWarning struct {
	PsychologicalWarning string `form:"psychological_warning"`
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
}
//班委
type GetStuCommittee struct {
	Committee string `form:"committee"`
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
}
//党员
type GetStuMember struct {
	Member string `form:"member"`
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
}
//少数民族
type GetStuNation struct {
	Nation string `form:"nation"`
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
}
type GetStuUnion struct {
	Union string `form:"student_union"`
	Size      uint    `form:"size"`      //每页数据
	Current   uint    `form:"current"`   //当前页
}
//奖学金
type Scholarship struct {
	Size      uint     `form:"size"`      //每页数据
	Current   uint     `form:"current"`   //当前页
	Time      string   `form:"time"`      //时间
	Level     string   `form:"level"`	  //级别
	Grade     string   `form:"grade"`     //年级
}
//添加奖励
type Addpoint struct {
	Studentid      uint     `json:"studentid"`
	InPoints       uint  	`json:"in_points"`
	Time          time.Time  `json:"time"`
	InName      string   `json:"in_name"`
	Level     string   `json:"level"`
	Insegral     string   `json:"insegral"`
}
//添加惩罚
type Delpoint struct {
	Studentid      uint     `json:"studentid"`
	NoPoints       uint  	`json:"no_points"`
	Time          time.Time  `json:"time"`
	NoName      string   `json:"no_name"`
	Level     string   `json:"level"`
	Nosegral     string   `json:"nosegral"`
}
//删除奖励
type Deladdpoint struct {
	Id      uint     `from:"id"`
	IsDel   []byte   `from:"is_del"`
}

//添加表单
type Add struct {
	QQ        string `json:"qq"`
	VX       string `json:"vx"`
	Phone      string     `json:"phone"`
	Number       string  	`json:"number"`
	Year string `json:"year"`
	Name      string   `json:"name"`
	Gender      string   `json:"gender"`
	Class string `json:"class"`
	State string `json:"state"`
	Remarks string `json:"remarks"`
	Major     string   `json:"major"`
	Dormitory string `json:"dormitory"`
	NativePlace     string   `json:"native_place"`
	WatchmanName string `json:"watchman_name"`
	WatchmanRelationship string `json:"watchman_relationship"`
	WatchmanPhone string `json:"watchman_phone"`
	Place string `json:"place"`
	Nation string `json:"nation"`
	Team string `json:"team"`
	Committee string `json:"committee"`
	StudentUnion string `json:"student_union"`
	PoliticalOutlook string `json:"political_outlook"`
}
